errors, how to fix?
#1

Lines:
pawn Код:
RemovePlayerAttachedObject(playerid, 0);3
    // rent
        if(GetPVarInt(playerid, "Renting") == 1)
The error:
pawn Код:
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\сън\LSC\gamemodes\sgrp.pwn(4199 -- 4201) : warning 215: expression has no effect
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\сън\LSC\gamemodes\sgrp.pwn(4201) : error 001: expected token: ";", but found "if"
Thanks!
Reply
#2

pawn Код:
RemovePlayerAttachedObject(playerid, 0);
// rent
if(GetPVarInt(playerid, "Renting") == 1)
Reply
#3

My biggest fail thanks mate
Reply
#4

[QUOTE=Chris_Morrison;2407504]Lines:
pawn Код:
RemovePlayerAttachedObject(playerid, 0);
    // rent
        if(GetPVarInt(playerid, "Renting") == 1));
Try that, if it doesn't work then try what is below


[QUOTE=Chris_Morrison;2407504]Lines:
pawn Код:
RemovePlayerAttachedObject(playerid, 0);
    // rent
        if(GetPVarInt(playerid, "Renting") == 1);
Reply
#5

Whenever you're scripting, try keeping calm and slow speed bro, It'll help you a lot more then focusing and being fast.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)