RemoveBuildingForPlayer - 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)
+--- Thread: RemoveBuildingForPlayer (
/showthread.php?tid=324172)
RemoveBuildingForPlayer -
KeeDee - 08.03.2012
Here what's i get my code:
Код:
RemoveBuildingForPlayer(5410, 2140.5156, -1735.1406, 15.8906, 0.25);
Quote:
C:\Users\Phil\Desktop\Backup\gamemodes\PS-RP.pwn(6545) : warning 213: tag mismatch
C:\Users\Phil\Desktop\Backup\gamemodes\PS-RP.pwn(6545) : warning 202: number of arguments does not match definition
|
Re: RemoveBuildingForPlayer -
Chrillzen - 08.03.2012
Quote:
Originally Posted by KeeDee
Here what's i get my code:
Код:
RemoveBuildingForPlayer(playerid, 5410, 2140.5156, -1735.1406, 15.8906, 0.25);
|
4char
Respuesta: RemoveBuildingForPlayer -
kirk - 08.03.2012
Quote:
Originally Posted by KeeDee
Here what's i get my code:
Код:
RemoveBuildingForPlayer(5410, 2140.5156, -1735.1406, 15.8906, 0.25);
|
RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius)
You are missing the player id
by the way, its suposed to be implmented under a public function with a playerid parameter, so if you wanna remove an object for ever, add it under OnPlayerConnect.
Re: RemoveBuildingForPlayer -
KeeDee - 08.03.2012
Both reputation for you guys. THANKS ALOT.