C:\Program Files\Rockstar Games\server\gamemodes\chilliadmadness.pwn(85) : error 035: argument type mismatch (argument 2) C:\Program Files\Rockstar Games\server\gamemodes\chilliadmadness.pwn(86) : error 035: argument type mismatch (argument 2) C:\Program Files\Rockstar Games\server\gamemodes\chilliadmadness.pwn(87) : error 035: argument type mismatch (argument 2) C:\Program Files\Rockstar Games\server\gamemodes\chilliadmadness.pwn(8 ![]() C:\Program Files\Rockstar Games\server\gamemodes\chilliadmadness.pwn(89) : error 035: argument type mismatch (argument 2) C:\Program Files\Rockstar Games\server\gamemodes\chilliadmadness.pwn(95) : error 035: argument type mismatch (argument 2) |
if (strcmp("/help", cmdtext, true, 10) == 0) { SendClientMessage(playerid, COLOR_RED, "Type /teleports for teleports."); SendClientMessage(playerid, COLOR_RED, "Type /stunt for stunting locations."); SendClientMessage(playerid, COLOR_RED, "Type /dm for deathmatch locations."); SendClientMessage(playerid, COLOR_RED, "Type /kill to suicide."); SendClientMessage(playerid, COLOR_RED, "Type /chilliad to go back to the spawn."); return 1; } if (strcmp("/teleports", cmdtext, true, 10) == 0) { SendClientMessage(playerid, COLOR_RED, "/airportls /airportsf /airportlv /airportdesert"); return 1; } return 0; }
if (strcmp("/help", cmdtext, true) == 0)
{
SendClientMessage(playerid, COLOR_RED, "Type /teleports for teleports.");
SendClientMessage(playerid, COLOR_RED, "Type /stunt for stunting locations.");
SendClientMessage(playerid, COLOR_RED, "Type /dm for deathmatch locations.");
SendClientMessage(playerid, COLOR_RED, "Type /kill to suicide.");
SendClientMessage(playerid, COLOR_RED, "Type /chilliad to go back to the spawn.");
return 1;
}
if (strcmp("/teleports", cmdtext, true) == 0)
{
SendClientMessage(playerid, COLOR_RED, "/airportls /airportsf /airportlv /airportdesert");
return 1;
}
return 0;
}
Originally Posted by lrZ^
/help and /teleports isn't 10 characters long...
You sure you defined COLOR_RED? |
if(!strcmp(cmd,"/command",true))
Originally Posted by MenaceX^
Why aren't you doing it as
pawn Код:
|
Originally Posted by Cuecumber
Quote:
![]() ~Cueball~ |