Quote:
Originally Posted by nickdodd25
Sorry for bringing back a old thread, but i did the removebuildingforplayer steps just how they explaned on wiki and i get a error code.
PHP код:
C:\Users\hp\AppData\Local\VirtualStore\Program Files (x86)\Rockstar Games\samp\gamemodes\PPC_Trucking.pwn(598) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\hp\AppData\Local\VirtualStore\Program Files (x86)\Rockstar Games\samp\gamemodes\PPC_Trucking.pwn(599) : error 017: undefined symbol "RemoveBuildingForPlayer"
PHP код:
public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 731, -2325.3125, 2350.0078, 3.1641, 200.0);
RemoveBuildingForPlayer(playerid, 715, -2346.4766, 2343.7969, 11.7891, 200.0);
Do i have to define removebuildingforplayer and where would i put that?
The server is updated to 3.0d R-2, and i thought it wouldnt have a problem since 3.0d you can delet buildings and objects.
I am new to scripting and any help would acceptible!
Thanks
Nick
|
You need the 0.3d includes too. Download the 0.3d Windows server package, take the pawno/includes directory and overwrite your current includes directory with that one. That will solve your issue.