if(Pinfo[playerid][Vip_Level] >= 1)
{
//ur code
return 1;
}
if(!strcmp(cmdtext, "/ammunation", true, 11))
{
if(Pinfo[playerid][Vip_Level] >= 1)
{
SetPlayerPos(playerid, 286.148986,-40.644397,1001.515625);
return 1;
}
else { SendClientMessage(playerid,0xAA3333AA,"Only Vip Allowed"); }
return 1;
}

C:\Users\Alen\Desktop\other\RG-RP by RG Djuro(Nidzola)\gamemodes\lsrp.pwn(10021) : warning 217: loose indentation C:\Users\Alen\Desktop\other\RG-RP by RG Djuro(Nidzola)\gamemodes\lsrp.pwn(10023) : error 017: undefined symbol "Pinfo" C:\Users\Alen\Desktop\other\RG-RP by RG Djuro(Nidzola)\gamemodes\lsrp.pwn(10023) : warning 215: expression has no effect C:\Users\Alen\Desktop\other\RG-RP by RG Djuro(Nidzola)\gamemodes\lsrp.pwn(10023) : error 001: expected token: ";", but found "]" C:\Users\Alen\Desktop\other\RG-RP by RG Djuro(Nidzola)\gamemodes\lsrp.pwn(10023) : error 029: invalid expression, assumed zero C:\Users\Alen\Desktop\other\RG-RP by RG Djuro(Nidzola)\gamemodes\lsrp.pwn(10023) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors
10021 if(!strcmp(cmdtext, "/ammunation", true, 11))
10022{
10023if(Pinfo[playerid][Vip_Level] >= 1)
10024{
10025SetPlayerPos(playerid, 286.148986,-40.644397,1001.515625);
10026return 1;
10027}
10028else { SendClientMessage(playerid,0xAA3333AA,"Samo VIP!!"); }
10029return 1;
10030}

C:\Users\Alen\Desktop\other\RG-RP by RG Djuro(Nidzola)\filterscripts\VIP.pwn(344) : error 010: invalid function or declaration C:\Users\Alen\Desktop\other\RG-RP by RG Djuro(Nidzola)\filterscripts\VIP.pwn(346) : error 010: invalid function or declaration C:\Users\Alen\Desktop\other\RG-RP by RG Djuro(Nidzola)\filterscripts\VIP.pwn(349) : error 010: invalid function or declaration C:\Users\Alen\Desktop\other\RG-RP by RG Djuro(Nidzola)\filterscripts\VIP.pwn(351) : error 010: invalid function or declaration C:\Users\Alen\Desktop\other\RG-RP by RG Djuro(Nidzola)\filterscripts\VIP.pwn(352) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
//---------------------donator ammo------------------
344if(!strcmp(cmdtext, "/ammunation", true, 11))
345 {
346 if(Pinfo[playerid][Vip_Level] >= 1)
347 {
348 SetPlayerPos(playerid, 286.148986,-40.644397,1001.515625);
349 return 1;
350 }
351 else { SendClientMessage(playerid,0xAA3333AA,"Only Vip Allowed"); }
352 return 1;
353 }
/code]
:
|
Originally Posted by alenblue
TNX it Work
TNX for help ![]() |
anytime