#1

if(dialogid == DIALOG_MYCAR)
{
if(response)
{
if(listitem == 0)
{
if(PlayerInfo[playerid][PrivateCar] == 0) return SendClientMessage(playerid,COLORE_ROSSO,"ERROR:You don't have any private car.");
if(PlayerInfo[playerid][PrivateCar] == 1)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
if(strcmp(name, "BlackEvil$_", true))
{
new Float, Float:y, Float:z, Float:Angle;
GetPlayerPos(playerid, x, y, z);
SetVehiclePos(PrivateVehicleBlackEvilS, x, y, z);
GetPlayerFacingAngle(playerid, Angle);
SetVehicleZAngle(PrivateVehicleBlackEvilS, Angle);
}
else if(strcmp(name, "Ohad", true))
{
SendClientMessage(playerid,COLORE_ROSSO,"aaaaaaaaa aaaaaaaaaaa");
}
}
}
if(listitem == 1)
{
GameTextForPlayer(playerid, "~r~ERROR:try again later!" , 4000, 3);
}
}
return 1; // We handled a dialog, so return 1. Just like OnPlayerCommandText.
}

Whats wrong? no errors/warns
Reply
#2

Use [code and [/code or PHP
Reply
#3

Quote:
Originally Posted by MicroKyrr
Посмотреть сообщение
Use [code and [/code or PHP
What?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)