can someone fix this??? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: can someone fix this??? (
/showthread.php?tid=177514)
can someone fix this??? -
cca - 18.09.2010
on top:
OnPlayerCommandTex:
pawn Код:
87- if (strcmp("/vw", cmdtext, true) ==0)
88- (
89- if(IsPlayerVipType(playerid,2))
90- (
91- GivePlayerWeapon(playerid,39,30);
92- GivePlayerWeapon(playerid,40,1);
93- GivePlayerWeapon(playerid,9,1);
94- }
95- else SendClientMessage(playerid, COLOR_Red, "ERROR: You not a Silver or Gold Member!");
96- return 1;
97- )
D:\cca\filterscripts\vip.pwn(88 -- 89) : error 029: invalid expression, assumed zero
D:\cca\filterscripts\vip.pwn(89) : warning 217: loose indentation
D:\cca\filterscripts\vip.pwn(89) : error 001: expected token: ";", but found ")"
D:\cca\filterscripts\vip.pwn(89) : error 029: invalid expression, assumed zero
D:\cca\filterscripts\vip.pwn(89) : fatal error 107: too many error messages on one line
Re: can someone fix this??? -
iJumbo - 18.09.2010
- if (strcmp("/vw", cmdtext, true) ==0)
88- {
89- if(IsPlayerVipType(playerid,2))
90- {
91- GivePlayerWeapon(playerid,39,30);
92- GivePlayerWeapon(playerid,40,1);
93- GivePlayerWeapon(playerid,9,1);
94- }
95- else SendClientMessage(playerid, COLOR_Red, "ERROR: You not a Silver or Gold Member!");
96- return 1;
97- }
lol { no (
Re: can someone fix this??? -
Mimic - 18.09.2010
You have to use these " { " not these " ( "
Re: can someone fix this??? -
cca - 18.09.2010
ok thnx all