21.04.2014, 17:11
Hi i have question, i need return 1; after each or just the end

pawn Код:
if(IsPlayerNPC(playerid))
{
new NPCName[MAX_PLAYER_NAME];
GetPlayerName(playerid, NPCName, sizeof NPCName);
if(!strcmp(NPCName, "Dragan", true))
{
PutPlayerInVehicle(playerid, Dragancheetah, 0);
}
if(!strcmp(NPCName, "Kyrko", true))
{
GivePlayerWeapon(playerid, 38, 5000);
SetPlayerSkin(playerid, 32);
}
if(!strcmp(NPCName, "Petrovich", true))
{
SetPlayerSkin(playerid, 109);
}
return 1;
}