04.04.2010, 17:32
Quote:
Originally Posted by Gw-platinum
Ponlo Asi
pawn Код:
|
Da Errores, Pero eso que ara? que pasara cuando lo cambie? o.O
Errores:
.- Warning: loose indentation
.- Warning: loose indentation
.- Error: undefined symbol "pCarlic"
.- Warning: loose indentation
El Primer Error
pawn Код:
SendClientMessage(playerid, COLOR_GRAD5, " Go outside and get in a car !");
pawn Код:
PlayerInfo[playerid][pCarlic] = 1;
pawn Код:
PlayerInfo[playerid][pCarlic] = 1;
pawn Код:
else
------------------------
Ayudenme plz :Z
EDITO: Solucionado, Cierren Topic :Z
Puse este codigo:
pawn Код:
if(dialogid == DMVMENU)
{
if(response)
{
if(listitem == 0) // Car Liceses
{
if (PlayerInfo[playerid][pCarLic] == 0 && GetPlayerMoney(playerid) > 49)
{
GivePlayerMoney(playerid,-50);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pCarLic] = 1;
SendClientMessage(playerid, COLOR_GRAD5, "You can check this anytime by typing /licenses");
TogglePlayerControllable(playerid, 1);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_LIGHTRED, "You are already have a licenses, or don't have enough cash!");
TogglePlayerControllable(playerid, 1);
}
}