error 017: undefined symbol "SendCleintMessageToAll"
#4

Quote:
Originally Posted by Marricio
Посмотреть сообщение
pawn Код:
if(strcmp(cmdtext, "/911 police 187", true) == 0)
{
    SendClientMessage(playerid, COLOR_WHITE, "Dispatcher: Ok, Please remain calm and stay at your location, assistance will be there shortly.");
    SendClientMessageToAll(playerid, COLOR_RED, "Police Dispatcher: All units, we have a 187 at %s location, Requesting EMS and Police units for assistnace.");
    return 1;
}
Just a grammar issue. SendClientMessageToAll is the right one.
Quote:
Originally Posted by RollTi
Посмотреть сообщение
pawn Код:
SendCleintMessageToAll(playerid, COLOR_RED, "Police Dispatcher: All units, we have a 187 at %s location, Requesting EMS and Police units for assistnace.");
to

pawn Код:
SendClientMessageToAll(playerid, COLOR_RED, "Police Dispatcher: All units, we have a 187 at %s location, Requesting EMS and Police units for assistnace.");
ok, fixed that error derpy me lol, but now im getting this

Код:
C:\Documents and Settings\Administrator\Desktop\gta sa server\gamemodes\DDPDRIFT.pwn(5358) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Administrator\Desktop\gta sa server\gamemodes\DDPDRIFT.pwn(5794) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
dont worry about the warning thats normal lol
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)