Lazar William Posted March 25, 2015 Share Posted March 25, 2015 Caut un scripter bun sa ma ajute cu o problema ! Va rog repede! Quote Link to comment Share on other sites More sharing options...
NEEP.BUGGED Posted March 29, 2015 Share Posted March 29, 2015 andrei.hamza1 pe skype ! 1 Quote Link to comment Share on other sites More sharing options...
L0K3D. Posted March 29, 2015 Share Posted March 29, 2015 Caut un scripter bun sa ma ajute cu o problema ! Va rog repede! Ce problema ai? Quote Link to comment Share on other sites More sharing options...
Lazar William Posted March 30, 2015 Author Share Posted March 30, 2015 Ce problema ai? Imi trebuie o comanda /createpickup pickup id ma poti ajuta ? Quote Link to comment Share on other sites More sharing options...
sNNk Posted March 31, 2015 Share Posted March 31, 2015 (edited) Imi trebuie o comanda /createpickup pickup id ma poti ajuta ? Poti sa faci un pickup din pawno. //Edit if(strcmp(cmd, "/createpickup", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "Use:/createpickup [ID model] [Label] "); return 1; } new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X,Y,Z); new model; model = strval(tmp); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "Use:/createpickup [ID model] [Label] "); return 1; } new type; type = strval(tmp); if (PlayerInfo[playerid][pAdmin] >= 6) { if((model >= 1210 && model <= 1325) && (model >= 321 && model <= 372)) { SendClientMessage(playerid, COLOR_GRAD2, "Only the model 1210, above and below 1325; above and below the 321 373 allowed!"); return 1; } if(type < 1 || type > 3) { SendClientMessage(playerid, COLOR_GRAD2, "Only: 1, 2, 3 (the Permitted usage type 2 If you don't know them)"); return 1; } CreatePickup(model, type, X,Y,Z); } else { SendClientMessage(playerid, COLOR_GRAD1, "AdminOnly"); } } return 1; } Edited March 31, 2015 by Authe Quote Link to comment Share on other sites More sharing options...
Lazar William Posted March 31, 2015 Author Share Posted March 31, 2015 Poti sa faci un pickup din pawno. //Edit if(strcmp(cmd, "/createpickup", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "Use:/createpickup [ID model] [Label] "); return 1; } new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X,Y,Z); new model; model = strval(tmp); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "Use:/createpickup [ID model] [Label] "); return 1; } new type; type = strval(tmp); if (PlayerInfo[playerid][pAdmin] >= 6) { if((model >= 1210 && model <= 1325) && (model >= 321 && model <= 372)) { SendClientMessage(playerid, COLOR_GRAD2, "Only the model 1210, above and below 1325; above and below the 321 373 allowed!"); return 1; } if(type < 1 || type > 3) { SendClientMessage(playerid, COLOR_GRAD2, "Only: 1, 2, 3 (the Permitted usage type 2 If you don't know them)"); return 1; } CreatePickup(model, type, X,Y,Z); } else { SendClientMessage(playerid, COLOR_GRAD1, "AdminOnly"); } } return 1; } Acum incerc si mersi Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.