==> OnPlayerDeath Help!<==
#5

Alright thanks for help but I'm getting this error:
pawn Код:
C:\Users\Sami\Desktop\samp03x_svr_R2_win32\gamemodes\RPtest.pwn(24) : error 017: undefined symbol "playerid"
And here's my code: (not sure if I made that variable correctly since i'm pretty new to those)
pawn Код:
main()

{
    print("\n----------------------------------");
    print(" RPtest ");
    print("----------------------------------\n");
}




#endif

new death[playerid] =1;
pawn Код:
public OnPlayerSpawn(playerid)
{
    if (death [playerid] == 1)
    {
    SetPlayerPos(playerid , -320.0716 , 1049.2888 , 20.3403);
    }
    else
    {
    SetPlayerPos(playerid , 261.4925 , -270.4117 , 1.5781);
    }
    SendClientMessage(playerid , 0x489048FF , "You can type /commands to see the commands that are currently available.");
    CreateVehicle( 581 , 266.2822, -275.4132 , 1.5781 , 82.2873 , 0 , 1 , 60);
     return 1;
}
Reply


Messages In This Thread
==> OnPlayerDeath Help!<== - by Heisenbergx2 - 06.10.2013, 13:21
Re: ==> OnPlayerDeath Help!<== - by Konstantinos - 06.10.2013, 13:23
Re: ==> OnPlayerDeath Help!<== - by Matnix - 06.10.2013, 13:37
Re: ==> OnPlayerDeath Help!<== - by Iron3man - 06.10.2013, 13:58
Re: ==> OnPlayerDeath Help!<== - by Heisenbergx2 - 06.10.2013, 14:01
Re: ==> OnPlayerDeath Help!<== - by Iron3man - 06.10.2013, 14:05
Re: ==> OnPlayerDeath Help!<== - by Heisenbergx2 - 06.10.2013, 14:08
Re: ==> OnPlayerDeath Help!<== - by Iron3man - 06.10.2013, 14:12
Re: ==> OnPlayerDeath Help!<== - by QuaTTrO - 06.10.2013, 14:12
Re: ==> OnPlayerDeath Help!<== - by Heisenbergx2 - 06.10.2013, 14:17

Forum Jump:


Users browsing this thread: 1 Guest(s)