i need help fixing some compile errors!!
#1

im trying to add this:
Код HTML:
public OnPlayerSpawn(playerid)
{
    if(IsPlayerNPC(playerid))
    {
	SetPlayerSkin(playerid,287*);
	GivePlayerWeapon(playerid,31**,99999);
    return 1;
}
i got those errors in these lines!!!!
Код HTML:
C:\Documents and Settings\Administrateur\Mes documents\Downloads\[0.3c R2] SATDM~RP V9_FINAL\[0.3c R2]SATDM~RP V9_FINAL\Gamemodes\SATDM_v9.pwn(26295) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrateur\Mes documents\Downloads\[0.3c R2] SATDM~RP V9_FINAL\[0.3c R2]SATDM~RP V9_FINAL\Gamemodes\SATDM_v9.pwn(26295) : error 001: expected token: ",", but found ";"
C:\Documents and Settings\Administrateur\Mes documents\Downloads\[0.3c R2] SATDM~RP V9_FINAL\[0.3c R2]SATDM~RP V9_FINAL\Gamemodes\SATDM_v9.pwn(26296) : error 029: invalid expression, assumed zero
Reply
#2

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(IsPlayerNPC(playerid))
    {
    SetPlayerSkin(playerid,287);
    GivePlayerWeapon(playerid,31,99999);
    }
    return 1;
}
Reply
#3

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(IsPlayerNPC(playerid))
    {
    SetPlayerSkin(playerid,287);
    GivePlayerWeapon(playerid,31,99999);
    return 1;
}
Ahh he beat me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)