/accent
#1

Hey guys im trying to make a command but dont work for me its the /accent [accent] [text] , i want save it on the enum pAccent

I got this:

PHP код:
CMD:accent(playeridparams[])
{
    if(
strlen(cmdtext) < 9)
    return 
SendClientMessage(playerid0xFFFFFFFF"USAGE /accent [Accent]");
    new 
string[60];
    
SetPVarString(playerid"Accent"cmdtext[8]);
    
format(string60"You have set your accent to %s."cmdtext[8]);
    
SendClientMessage(playerid0x33CCFFAAstring);
    return 
1;

what am i missing?

Код:
C:\Users\Jaua\Downloads\samp037_svr_R2-1-1_win32\gamemodes\baserp.pwn(2684) : warning 217: loose indentation
C:\Users\Jaua\Downloads\samp037_svr_R2-1-1_win32\gamemodes\baserp.pwn(2866) : error 017: undefined symbol "cmdtext"
C:\Users\Jaua\Downloads\samp037_svr_R2-1-1_win32\gamemodes\baserp.pwn(2869) : error 017: undefined symbol "cmdtext"
C:\Users\Jaua\Downloads\samp037_svr_R2-1-1_win32\gamemodes\baserp.pwn(2869) : warning 215: expression has no effect
C:\Users\Jaua\Downloads\samp037_svr_R2-1-1_win32\gamemodes\baserp.pwn(2869) : error 001: expected token: ";", but found "]"
C:\Users\Jaua\Downloads\samp037_svr_R2-1-1_win32\gamemodes\baserp.pwn(2869) : error 029: invalid expression, assumed zero
C:\Users\Jaua\Downloads\samp037_svr_R2-1-1_win32\gamemodes\baserp.pwn(2869) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Reply


Messages In This Thread
/accent - by Jaua10 - 15.07.2018, 19:40
Re: /accent - by Florin48 - 15.07.2018, 19:51
Re: /accent - by ItsRobinson - 15.07.2018, 19:51
Re: /accent - by Jaua10 - 15.07.2018, 20:06
Re: /accent - by Iguman - 15.07.2018, 20:14
Re: /accent - by DerickClark - 15.07.2018, 20:17
Re: /accent - by Dayrion - 15.07.2018, 20:21
Re: /accent - by CodeStyle175 - 15.07.2018, 20:37
Re: /accent - by Jaua10 - 15.07.2018, 20:52
Re: /accent - by Iguman - 15.07.2018, 20:55
Re: /accent - by Jaua10 - 15.07.2018, 21:00
Re: /accent - by Iguman - 15.07.2018, 21:10
Re: /accent - by Jaua10 - 15.07.2018, 21:12
Re: /accent - by DerickClark - 15.07.2018, 21:16
Re: /accent - by Iguman - 15.07.2018, 21:17
Re: /accent - by Jaua10 - 15.07.2018, 21:24
Re: /accent - by DerickClark - 15.07.2018, 21:30
Re: /accent - by Kane - 15.07.2018, 22:12

Forum Jump:


Users browsing this thread: 1 Guest(s)