22.01.2011, 10:42
Can someone give me this system?
public OnPlayerSpawn(playerid) { new Float:X,Float:Y,Float:Z; new obj[MAX_PLAYERS]; obj[playerid] = CreatePlayerObject(playerid, 18864,X,Y,Z, 0, 0, 0); AttachPlayerObjectToPlayer(playerid, obj[playerid], playerid,0,0,0,0,0,0); }
public OnGamemodeInit() { CreateObject(18864,(Snow pos X),(Snow pos Y), (Snow pos Z), 0,0,0); }