can someone fix this???
#1

on top:
pawn Код:
#include <Ladmin>
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
Reply
#2

- 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 (
Reply
#3

You have to use these " { " not these " ( "
Reply
#4

ok thnx all
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)