script help
#1

hey, when i try to remove buildings from the NG-RP script it always gives me like 26 errors.
can someone help

this is just an example

Код:
RemoveBuildingForPlayer(playerid, 16619, 199.3359, 1943.8750, 18.2031, 0.25);
RemoveBuildingForPlayer(playerid, 16323, 199.3359, 1943.8750, 18.2031, 0.25);
Reply
#2

Quote:
Originally Posted by Godzilla8957
Посмотреть сообщение
hey, when i try to remove buildings from the NG-RP script it always gives me like 26 errors.
can someone help

this is just an example

Код:
RemoveBuildingForPlayer(playerid, 16619, 199.3359, 1943.8750, 18.2031, 0.25);
RemoveBuildingForPlayer(playerid, 16323, 199.3359, 1943.8750, 18.2031, 0.25);
Post the errors you have been given by pwn.
Reply
#3

Quote:
Originally Posted by HarlemSAMP
Посмотреть сообщение
Post the errors you have been given by pwn.
it only gave me 2 this time

Код:
C:\Users\Jordan\Desktop\Maximum Roleplay\gamemodes\NGRP_nomysql.pwn(19508) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Jordan\Desktop\Maximum Roleplay\gamemodes\NGRP_nomysql.pwn(19509) : error 017: undefined symbol "RemoveBuildingForPlayer"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply
#4

1st of all post errors, 2nd of all,
Revise you're script again because one mistake can give u 26 errors.

See if you typed by mistake "]" except "}"

Example:
f(!dini_Exists(file) )
{
dini_Create(file);
dini_Set(file,"Name",name);
dini_IntSet(file,"Vip",0);
PlayerInfo[playerid][Vip] = 0;
SendClientMessage(playerid,COLOR_RED,"Your vip level is 0; !");
]<--- See this can cause u 26 errors. Make sure it's "}".

Good luck.
Reply
#5

Update samp version..
Reply
#6

Quote:
Originally Posted by Godzilla8957
Посмотреть сообщение
it only gave me 2 this time

Код:
C:\Users\Jordan\Desktop\Maximum Roleplay\gamemodes\NGRP_nomysql.pwn(19508) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Jordan\Desktop\Maximum Roleplay\gamemodes\NGRP_nomysql.pwn(19509) : error 017: undefined symbol "RemoveBuildingForPlayer"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
try

Код:
#define RemoveBuildingForPlayer
Reply
#7

Yes, update to 0.3e. RemoveBuildingForPlayer was added in samp version 0.3e.
Reply
#8

thanks, i got it working now
Reply
#9

NG-RP Script stolen. Close this thread now.
Reply
#10

Quote:
Originally Posted by Johnny_Robins
Посмотреть сообщение
NG-RP Script stolen. Close this thread now.
how did i steal the NG-RP script? i never stole it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)