Help me - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help me (
/showthread.php?tid=170479)
Help me -
eXtr1kE - 23.08.2010
1. How to make restriction to F4?
2. In SetPlayerCheckPoint not make zise, help.
HELP ME!!
Re: Help me -
DarkClone - 23.08.2010
1: You can't.
2: I don't understand, try:
https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint
Re: Help me -
Claude - 23.08.2010
All you can do for one is
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPVarInt(playerid, "Spawned", 1);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
SetPVarInt(playerid, "Spawned", 0);
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
if(GetPVarInt(playerid, "Spawned") == 1)
{
SpawnPlayer(playerid);
}
return 1;
}
Allows them to pick a skin on the beginning only
Re: Help me -
eXtr1kE - 23.08.2010
1. I mean, when someone wants to choose a skin and it does not satisfy the conditions, send a message.
2. SetPlayerCheckpoint(playerid,370.9332,-1502.9149,31.6101,8.0);
Sorry, no speak english
HElP!
Re: Help me -
Hiddos - 23.08.2010
1: Return 0 at OnPlayerRequestSpawn, as well as sending him a message.
Re: Help me -
eXtr1kE - 23.08.2010
Help me
2 and 1
.