D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(22347) : error 029: invalid expression, assumed zero
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(22347) : warning 215: expression has no effect
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(22347) : error 001: expected token: ";", but found ")"
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(22347) : error 029: invalid expression, assumed zero
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(22347) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
if(PlayerInfo[playerid][pCell] == 0) || PlayerInfo[playerid][pSim] == 0)
{
SendClientMessage(playerid, COLOR_GRAD2, " You dont have a cellphone or a SIM card!");
return 1;
}
Originally Posted by Zimon95
Show more code please.
|
if(strcmp(cmd, "/call", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /call[numero cellulare]");
return 1;
}
if(PlayerInfo[playerid][pCell] == 0) || PlayerInfo[playerid][pSim] == 0)
{
SendClientMessage(playerid, COLOR_GRAD2, " You dont have a cellphone or a SIM Card!");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s take out his cellphone.", sendername);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
new phonenumb = strval(tmp);
contiunue the script...
if(PlayerInfo[playerid][pCell] == 0) || PlayerInfo[playerid][pSim] == 0)
if(PlayerInfo[playerid][pCell] == 0 || PlayerInfo[playerid][pSim] == 0)
if(PlayerInfo[playerid][pCell] == 0 || PlayerInfo[playerid][pSim] == 0)
{
SendClientMessage(playerid, COLOR_GRAD2, " You dont have a cellphone or a SIM card!");
return 1;
}
Originally Posted by Zimon95
This:
pawn Код:
pawn Код:
|