31.03.2010, 21:20
Hi guys i try to make this
I wanna to do: If is player To point 1321.6389,2154.3713,10.8203 and if he dont have this skin id`s 97 and 154 to get message "You must be football player!"
i make whit timer and when i press F6 i get this
C:\Users\NASTIE\Desktop\ExtremeFun\filterscripts\C heckpoint.pwn(954) : error 029: invalid expression, assumed zero
C:\Users\NASTIE\Desktop\ExtremeFun\filterscripts\C heckpoint.pwn(954 -- 955) : warning 215: expression has no effect
C:\Users\NASTIE\Desktop\ExtremeFun\filterscripts\C heckpoint.pwn(955) : error 001: expected token: ";", but found "if"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
pawn Код:
public footballcheck(playerid, skinid)
{
if(PlayerToPoint(10.0, playerid, 1321.6389,2154.3713,10.8203))
else if(skinid != 97 && skinid != 154) return SendClientMessage(playerid,0xFF0000FF,"You must be football player!");
return 1;
}
i make whit timer and when i press F6 i get this
C:\Users\NASTIE\Desktop\ExtremeFun\filterscripts\C heckpoint.pwn(954) : error 029: invalid expression, assumed zero
C:\Users\NASTIE\Desktop\ExtremeFun\filterscripts\C heckpoint.pwn(954 -- 955) : warning 215: expression has no effect
C:\Users\NASTIE\Desktop\ExtremeFun\filterscripts\C heckpoint.pwn(955) : error 001: expected token: ";", but found "if"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.

