17.06.2012, 06:29
pawn Код:
CMD:meslek(playerid, params[])
{
if(isnull(params))
{
SendClientMessage(playerid, COLOR_WHITE, "[KULLANIM]: /meslek [isim]");
SendClientMessage(playerid, COLOR_WHITE, "Gecerli Isimler: yardim, gir, cik");
return 1;
}
if(strcmp(params, "yardim", true) == 0)
{
//
}
else if(strcmp(params, "gir", true) == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "Meslek bolgesinde degilsin");
}
else if(IsPlayerInRangeOfPoint(playerid, 5.0, 1490.3337,1305.8390,1093.2964)){
PlayerInfo[playerid][pJob] == 3;//warning 215: expression has no effect
}
else if(strcmp(params, "cik", true) == 0)
{
//
}
return 1;
}