Media Summary: How to make multi-parameter commands using strtok. At this at the top of your Teleport car aswell: if(strcmp(cmdtext,"teleport",true)==0) { new vehicleid = GetPlayerVehicleID(playerid); new State ... new msg[128],pname[24]; GetPlayerName(playerid,pname,sizeof(pname)); new DisconnectReason[3][] = { "Timeout/Crash", "Quit" ...
Samp Server Scripting Tutorial 7 - Detailed Analysis & Overview
How to make multi-parameter commands using strtok. At this at the top of your Teleport car aswell: if(strcmp(cmdtext,"teleport",true)==0) { new vehicleid = GetPlayerVehicleID(playerid); new State ... new msg[128],pname[24]; GetPlayerName(playerid,pname,sizeof(pname)); new DisconnectReason[3][] = { "Timeout/Crash", "Quit" ... For a list of "most used" pickup models, check out: For a list of pickup types, check out: ... in this video, i tell you how to get the correct co-ords out of the "/save" co-ordinates. its very simple. if you need help-- if (strcmp("/kill", cmdtext, true, 10) == 0) {SetPlayerHealth(playerid, 0); // kill command return 1; } if (strcmp("/heal" ...
If you have a question and want it answered completely, please visit MaxedOutStudio Forums at ...