Orion Posted February 18, 2013 Report Share Posted February 18, 2013 Salut,am si eu o problema la compile..[pawn](4579) : error 029: invalid expression, assumed zero[/pawn]Asta e :[pawn]forward EsteScripter(playerid);public EsteScripter(playerid){ if(IsPlayerConnected(playerid)) { new nume[512]; GetPlayerName(playerid, nume, sizeof(nume)); if((strcmp(nume, "Theoo", true) == 0) line 4579 { return 1; } } return 0;}[/pawn] Link to comment Share on other sites More sharing options...
Guest Rock Posted February 18, 2013 Report Share Posted February 18, 2013 if((strcmp(nume, "Theoo", true) == 0) Greseala este cu rosu.Ai pus 2 paranteze dupa if si este nevoie doar de una. Link to comment Share on other sites More sharing options...
Orion Posted February 18, 2013 Author Report Share Posted February 18, 2013 if((strcmp(nume, "Theoo", true) == 0) Greseala este cu rosu.Ai pus 2 paranteze dupa if si este nevoie doar de una.multumesc frumos,merge,se poate da T.C Link to comment Share on other sites More sharing options...
Question
Orion
Salut,am si eu o problema la compile..
[pawn](4579) : error 029: invalid expression, assumed zero[/pawn]
Asta e :
[pawn]forward EsteScripter(playerid);
public EsteScripter(playerid)
{
if(IsPlayerConnected(playerid))
{
new nume[512];
GetPlayerName(playerid, nume, sizeof(nume));
if((strcmp(nume, "Theoo", true) == 0)
line 4579 {
return 1;
}
}
return 0;
}[/pawn]
Link to comment
Share on other sites
2 answers to this question
Recommended Posts