Raised This Month: $ Target: $400
 0% 

Error Info


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Waleed
Senior Member
Join Date: May 2012
Location: Pakistan
Old 05-17-2012 , 08:05   Error Info
Reply With Quote #1

Code:
new string[100];
new name[get_user_name(playerid, sizeof(name), strlen(string)];
I am trying to get name of user,But few errors are happening.
Solve the below errors please.


ERRORS:
Error1: Undefined symbol "name" on line 20 //Which name is it talking about,There are two names?
Error2: Invalid expression, assumed zero on line 20 //What to do with this?
Error3: Expected token: ";", but found "]" on line 20 //What is this?

Last edited by Waleed; 05-17-2012 at 08:06.
Waleed is offline
Send a message via Skype™ to Waleed
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode