21.12.2010, 23:10
if(!strcmp("/corrida",cmdtext))
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, Cord.X, Cord. Y, Cord Z.))
{
SendClientMessage(playerid,0xFFFFFFFF,"Voce chegou no final da corrida e ganhou score.");
SetPlayerScore(playerid, GetPlayerScore(playerid) +1);
}
return 1;
}
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, Cord.X, Cord. Y, Cord Z.))
{
SendClientMessage(playerid,0xFFFFFFFF,"Voce chegou no final da corrida e ganhou score.");
SetPlayerScore(playerid, GetPlayerScore(playerid) +1);
}
return 1;
}