RemoveBuildingForPlayer
#1

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

Reply
#2

Quote:
Originally Posted by KeeDee
Посмотреть сообщение
Here what's i get my code:

Код:
RemoveBuildingForPlayer(playerid, 5410, 2140.5156, -1735.1406, 15.8906, 0.25);
4char
Reply
#3

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.
Reply
#4

Both reputation for you guys. THANKS ALOT.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)