<<<<<<<<please help >>>>>>>>>
#1

pawn Код:
LoadObjectsForPlayer(playerid,2000);
When I put this in my gm it shows error that
Код:
LoadObjectsForPlayer not define
Reply
#2

Thats not a sa-mp function.

It's telling you it's not defined as like above, it's not a function.

You need the code for it to work , it was probably a stock or something.
If not you can show your function.
Reply
#3

so how to do that any alternative
Reply
#4

Quote:
Originally Posted by MA_proking
Посмотреть сообщение
so how to do that any alternative
This is from my gm: (I didn't make it)
pawn Код:
//somewhere
public DynUpdateStart(playerid) // Shurty40
{  
    TogglePlayerControllable(playerid, false);
    new string[128];
    format(string, sizeof(string), "~w~Objects~n~~r~Loading");
    GameTextForPlayer(playerid, string, 3000, 6);
    PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
    if(GetPlayerPing(playerid) < 100) { SetTimerEx("DynUpdateEnd", 2000, 0,"e",playerid); }
    else if(GetPlayerPing(playerid) > 100) { SetTimerEx("DynUpdateEnd", 2000, 0,"e",playerid); }
    else if(GetPlayerPing(playerid) > 200) { SetTimerEx("DynUpdateEnd", 2200, 0,"e",playerid); }
    else if(GetPlayerPing(playerid) > 300) { SetTimerEx("DynUpdateEnd", 2700, 0,"e",playerid); }
    else if(GetPlayerPing(playerid) > 500) { SetTimerEx("DynUpdateEnd", 3000, 0,"e",playerid); }
    return 1;
}
and
pawn Код:
public DynUpdateEnd(playerid) // Shurty40
{
    TogglePlayerControllable(playerid, true);
    new string[128];
    format(string, sizeof(string), "~w~Objects~n~~r~Loaded!");
    GameTextForPlayer(playerid, string, 3000, 6);
    PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
    return 1;
}
I think thats what you want ?

Just use

DynUpdateStart(playerid);
Reply
#5

Код:
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1600) : warning 235: public function lacks forward declaration (symbol "DynUpdateStart")
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1614) : warning 235: public function lacks forward declaration (symbol "DynUpdateEnd")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
showing this
Reply
#6

Quote:
Originally Posted by MA_proking
Посмотреть сообщение
Код:
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1600) : warning 235: public function lacks forward declaration (symbol "DynUpdateStart")
C:\DOCUME~1\Prabhat\Desktop\WORLDS~1.5\GAMEMO~1\free.pwn(1614) : warning 235: public function lacks forward declaration (symbol "DynUpdateEnd")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
showing this
pawn Код:
forward DynUpdateStart(playerid);
Before public DynUpdateStart
Reply
#7

Thanks It works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)