22.06.2010, 15:13
Hey, I made this right now:
But it doesnt work (( Can anyone help me??
Код:
if(strcmp(cmdtext,"/dm1",true)==0) // { SetPlayerPos(playerid,2220.26,-1148.01,1025.80); // This can be the fail, I'm not sure the x,y,s is right, but I found them on samp wiki... SetPlayerInterior(playerid,15); // Interior GameTextForPlayer(playerid,"Welcome to Jefferson Motel dm Area",4000,6); // GameText GivePlayerWeapon(playerid,31,99999); // M4 GivePlayerWeapon(playerid,4); // knife GivePlayerWeapon(playerid,32,99999); // Tec9 GivePlayerWeapon(playerid,34,99999); // Sniper Rifle GivePlayerWeapon(playerid,42); // Fire Extinguisher GivePlayerWeapon(playerid,27,99999); // Combat Shotgun GivePlayerWeapon(playerid,24,99999); // Desert Eagle GivePlayerWeapon(playerid,18,99999); // Molotov Cocktail return 1; } return 0;