17.03.2015, 05:11
Some of this is copied code you didn't give credits for I'm not sure if there is more copied else where but.
http://users.telenet.be/vge/download...ripts/FGPS.pwn
Your code.
I would suggest giving credits for any code that isn't yours.
http://users.telenet.be/vge/download...ripts/FGPS.pwn
pawn Code:
public OnPlayerDeath(playerid, killerid, reason)
{
if(GetPVarInt(playerid,"YEAH") == 1)
{
DestroyObject(GPSObject[playerid]);
SetPVarInt(playerid,"YEAH",0);
DeletePVar(playerid,"Spongebob");
DeletePVar(playerid,"Mario");
DeletePVar(playerid,"SpiderPig");
DeletePVar(playerid,"FAIL");
#if defined UseTd
TextDrawHideForPlayer(playerid, GPSTD);
#endif
}
return 1;
}
pawn Code:
public OnPlayerDeath(playerid, killerid, reason)
{
if(GetPVarInt(playerid, "YEAH") == 1)
{
DestroyObject(GPSObject[playerid]);
SetPVarInt(playerid, "YEAH",0);
DeletePVar(playerid, "Spongebob");
DeletePVar(playerid, "Mario");
DeletePVar(playerid, "SpiderPig");
DeletePVar(playerid, "FAIL");
}
return 1;
}