30.12.2010, 03:48
Quote:
Alright i tried the whole setting off position onplayerspawn, but since player doesnt have coords saved to his file after registration, it sends em to 0.0. Give me an example on what you have done? Or should i just set the regi x,y,z to spawn spot?
|
Then you can set it to 0 underneath OnPlayerDeath() 1 on login and 2 on register. Then under OnPlayerSpawn()
pawn Код:
switch(SpawnType[playerid])
{
case 0:
{
// When the player dies
}
case 1:
{
// When the player login
}
case 2:
{
// When the player registers
}
}